
exec = require 'exec'

exec ['tail', 'curl.coffee'], (err, out, code) ->
  console.error err if err
  rows = out.split '\n'
  console.log 'exit ' + code
  console.log rows

